package com.lm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lm.pojo.Docter;
import com.lm.pojo.Organization;
import com.lm.pojo.SearchOrganization;
import com.lm.pojo.TeamManage;

import java.util.List;

public interface OrgService {

    IPage<Organization> findList(SearchOrganization org);

    void addOrg(Organization org);

    void deleteOrg(Integer orgId);

    void updateOrg(Organization org);

    Integer findLastNumber();

    List<Docter> findDocterList();

    void changeState(Integer orgId, Integer orgState);

    List<Organization> findIdAndName();

    List<TeamManage> findTeamList(Integer orgId);
}
